package com.btl.service.ai.support.rag.store.rdb.table;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tim
 * @since 2025-08-11
 */
@Getter
@Setter
@TableName("chat_history")
public class ChatHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息 id
     */
    @TableId("id")
    private Long id;

    /**
     * 问答 id
     */
    @TableField("aq_id")
    private String aqId;

    /**
     * 内容
     */
    @TableField("content")
    private String content;

    /**
     * 记忆 id
     */
    @TableField("memory_id")
    private Long memoryId;

    /**
     * 角色
     */
    @TableField("role")
    private String role;
}
